package com.cyz.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName path_card
 */
@TableName(value ="path_card")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PathCard implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer pathId;

    /**
     * 
     */
    private Integer cardId;

    /**
     * 级别(0：入门，1：初级，2：中级，3：高级)
     */
    private String level;

    public PathCard(Integer pathId, Integer cardId, String level) {
        this.pathId = pathId;
        this.cardId = cardId;
        this.level = level;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}